#ifndef _CONFIG_SETTINGS_H_
#define _CONFIG_SETTINGS_H_

#include <QtCore>
#include <QSettings>

namespace XQChat
{
	class CConfigSettings
	{
	public:
		CConfigSettings(void);
		~CConfigSettings(void);

	public:
		static CConfigSettings* getConfigSettings();
		QVariant getValue(const QString& key);
		void setValue(const QString& key, const QVariant& value);

	private:
		static CConfigSettings* m_pConfigSettings;
		QString m_qsFileName;
	//	QMap<QString,QVariant> m_mapValues;
		QSettings* m_pSettings;
	};
}
#endif	//_CONFIG_SETTINGS_H_